package com.by.mapper;

import com.by.common.crud.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author Ye QS
 * @version 0.1
 * @className SupplierEnquiry
 * @description
 * @date 2024/9/25 15:11
 * @since jdk11
 */
@Mapper
public interface SupplierEnquiryMapper extends BaseMapper<SupplierEnquiryMapper> {
    List<Map> queryCust(Map map);

    /**
     * 根据询价单id和类别id保存  供应商询价
     *
     * @param eid 询价单id
     * @param cid 类别id
     * @return
     */
    int save(@Param("eid") int eid, @Param("cid") int cid);
}
